import css from "./style.css";
console.log(css) //undefined

import text from "./text.txt"

const dom = document.createElement('div')

dom.innerText = text

document.body.appendChild(dom)